package com.orangelife.mobile.surrounding.activity;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.widget.TextView;

import com.curry.orangelife.mobile.R;
import com.orangelife.mobile.common.activity.OrangeLifeBaseActivity;
import com.orangelife.mobile.surrounding.fragment.SurroundingMerchantFragment;
import com.orangelife.mobile.tehui.TeHuiFragment2;

import butterknife.Bind;
import butterknife.ButterKnife;

/**
 * 周边
 */
public class SurroundingActivity extends OrangeLifeBaseActivity {

    Fragment fragment;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_surrounding);
        ButterKnife.bind(this);
        initView();
        findView();
    }

    private void findView() {
        FragmentManager fragmentManager=getSupportFragmentManager();
        FragmentTransaction transition=fragmentManager.beginTransaction();
        fragment=new SurroundingMerchantFragment();
        transition.add(R.id.flContent, fragment);
        transition.commit();
    }

    private void initView() {
    }
}
